package org.example.mapper;

import org.example.javabean.User;

import java.util.List;

public interface UserMapper {

    List<User> selectAllUser();


    User selectUserById(int id);

    int insertUser(User user);


    int updateUser(User user);


    int deleteUser(int id);

    List<User> selectUserByCondition(User user);

    User selectUserWithRole(int id);

    List<User> selectAllUserWithRole();
}